﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Service.BusinessLayer.Entities
{
    public class TaiKhoan
    {
        string matk;

        public string Matk
        {
            get { return matk; }
            set { matk = value; }
        }
        string manv;

        public string Manv
        {
            get { return manv; }
            set { manv = value; }
        }
        string tendangnhap;

        public string Tendangnhap
        {
            get { return tendangnhap; }
            set { tendangnhap = value; }
        }
        string matkhau;

        public string Matkhau
        {
            get { return matkhau; }
            set { matkhau = value; }
        }
        string phanquyen;

        public string Phanquyen
        {
            get { return phanquyen; }
            set { phanquyen = value; }
        }
        //Duong dan luu file
        string duongdan;

        public string Duongdan
        {
            get { return duongdan; }
            set { duongdan = value; }
        }
        public TaiKhoan(string duongdan)
        {
            this.duongdan = duongdan;
        }
        public TaiKhoan() { }
        public TaiKhoan(string matk, string manv, string tendangnhap, string matkhau, string phanquyen)
        {
            this.matk = matk;
            this.manv = manv;
            this.tendangnhap = tendangnhap;
            this.matkhau = matkhau;
            this.phanquyen = phanquyen;
        }
        public TaiKhoan(TaiKhoan tk)
        {
            this.matk = tk.matk;
            this.manv = tk.manv;
            this.tendangnhap = tk.tendangnhap;
            this.matkhau = tk.matkhau;
            this.phanquyen = tk.phanquyen;
        }
    }
}
